import request from '@/utils/request'

// 查询数据列表
export function selcetDataList(data) {
  return request({
    url: '/api/h_AdvPayInfomation/GetPage',
    method: 'post',
    data: data
  })
}


// 保存数据
export function saveSKD(data) {
  return request({
    url: '/api/Base/SaveSKD',
    method: 'post',
    data: data
  })
}

// 获取明细数据
export function getOneSKD(params) {
  return request({
    url: '/api/Base/GetOneSKD',
    method: 'get',
    params: params
  })
}



// 删除数据
export function delSKD(data) {
  return request({
    url: '/api/Base/DelSKD',
    method: 'post',
    data: data
  })
}


// 查询汇款单数据列表
export function selcetList(data) {
  return request({
    url: '/api/h_AdvPayInfomation/GetPage',
    method: 'post',
    data: data
  })
}


// 查询工作号列表
export function GetHTDatas(params) {
  return request({
    url: '/api/h_AdvPayInfomation/GetHTDatas',
    method: 'get',
    params: params
  })
}


//新增汇款单数据
export function SaveContractReturn(data) {
  return request({
    url: '/api/h_AdvPayInfomation/Add',
    method: 'post',
    data: data
  })
}

//修改汇款单数据
export function UpdateContractReturn(data) {
  return request({
    url: '/api/h_AdvPayInfomation/Edit',
    method: 'post',
    data: data
  })
}


// 查询回款单详情
export function GetOneHtDateil(params) {
  return request({
    url: '/api/h_AdvPayInfomation/GetOneHt',
    method: 'get',
    params: params
  })
}

// 删除回款单详情
export function DeleteHtDateil(params) {
  return request({
    url: '/api/h_AdvPayInfomation/Delete',
    method: 'get',
    params: params
  })
}
// 回款单审核
export function CheckStateHtDateil(params) {
  return request({
    url: '/api/h_AdvPayInfomation/CheckState',
    method: 'get',
    params: params
  })
}

// 回款单弃审
export function CheckStateUnHtDateil(params) {
  return request({
    url: '/api/h_AdvPayInfomation/BHCheckState',
    method: 'get',
    params: params
  })
}












